package com.nulldev.util.net.experimental.udp2;

import java.util.UUID;

public interface PeerReceiverListener {
	 // When a new peer get connected to this peer let it now about it
    void connected(Connection connection);

    // When a new message have received
    void receivedMessage(Message message);

    // When a peer disconnect
    void disconnected(UUID connectionId);
}
